package modules

import "os/exec"

func ExecuteCmd(path string, args ...string) (string, error) {
	cmd := exec.Command(path, args...)

	output, err := cmd.CombinedOutput()
	if err != nil {
		return "", err
	}
	return string(output), nil
}
